<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>老姐的</title>
		<link rel="stylesheet" href="css/index.css">
		<link rel="stylesheet" href="css/my.css" />
	</head>

	<body>
		<div id="app">
			<div>
				
			</div>
			<div id="input_block">
				<div class="line">
					<div class="pram">
						规划范围数据：
					</div>
					<div class="input">
						<el-input v-model="input1" placeholder="请输入内容"></el-input>
					</div>
				</div>
				<div class="line">
					<div class="pram">
						规划目标值：
					</div>
					<div class="input">
						<el-input v-model="input2" placeholder="请输入内容"></el-input>
					</div>
				</div>
				<div class="line">
					<div class="pram">
						规划取值数量：
					</div>
					<div class="input">
						<el-input v-model="input3" placeholder="请输入内容"></el-input>
					</div>
				</div>
				<div class="line">
					<div class="pram">
						规划误差量：
					</div>
					<div class="input">
						<el-input v-model="input4" placeholder="请输入内容"></el-input>
					</div>
				</div>
			</div>
			<el-button @click="getCombBySum()">规划计算</el-button>

			<div class="re" v-for="(item,index) in result" :key="index" v-if="result !=[]">
				<div class="line">
					<div class="pram">
						规划结果{{index+1}}：
					</div>
					<div class="input">
						{{item}}
					</div>
				</div>
			</div>
			
			
			<div id="ex">
				<div class="text">
					说明：
				</div>
				<div class="text">
					规划范围数据：输入为所取数据的范围，输入要求连续且以英文","隔开;例如:1,2,3,4
				</div>
				<div class="text">
					规划目标值：所求的目标值;例如:5
				</div>
				<div class="text">
					规划取值数量：需要在规划范围数据内取多少数据达到规划目标值;例如:2
				</div>
				<div class="text">
					规划误差量:达到规划目标值的误差;例如:0
				</div>
			</div>

		</div>
	</body>
	<script src="js/vue.js"></script>
	<script src="js/vue_fri.js"></script>
	<script src="js/my.js"></script>

</html>